-
Notifications
You must be signed in to change notification settings - Fork 120
Newsletter page #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newsletter page #298
Conversation
also checked npm run build (no error)
@Samridha0305 is attempting to deploy a commit to the recode Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs. In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊 Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv. We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰 🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨ 📚Your perks for contribution to this community 👇🏻
If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊 |
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This PR updates dependencies and build configuration to resolve Vercel build errors caused by an invalid Docusaurus plugin version name and potential memory allocation issues. Changes Made Dependency Fixes Updated all @docusaurus/* packages to 3.8.1 to ensure version consistency and avoid mismatched plugin issues. Specifically fixed @docusaurus/plugin-content-docs version to 3.8.1 (previously caused Invalid name error during build). Memory Optimization Added cross-env package for cross-platform environment variable support. Modified build script to increase Node.js heap size: bash Copy code "build": "cross-env NODE_OPTIONS=${NODE_OPTIONS:---max_old_space_size=4096} docusaurus build" This helps prevent memory crashes on Vercel during large builds. Related Issue(s) Vercel build log error: typescript Copy code Error: Invalid name=docusaurus-plugin-content-docs version number=3.7.0 Potential "JavaScript heap out of memory" crash during build. Testing ✅ Local build confirmed with npm run build (no errors). ✅ Deployment works on both local and Vercel environments after changes. Checklist Updated dependencies to stable versions Ensured all Docusaurus packages are on the same version Prevented memory crash by increasing heap size Confirmed build passes locally and on Vercel
@sanjay-kv please see if its still giving error |
Fixes #231
Major Features Implemented
Search Functionality
Real-time search on title, tags, and author.
Graceful fallback with "No results found" message.
Tag Filtering
Interactive tag filter in sidebar.
Smooth animated selection with badge counts.
Collapsible tag list with +X more and tooltip/expander.
Sidebar Improvements
Fully collapsible sidebar (horizontal + vertical).
Hide/Show filters expands content to full screen.
Elegant toggle button with transition and icons.
Sorting Options
Latest, Popular, Oldest
Animated and highlighted with active state.
Like Button
Like/unlike feature with count update.
Saved state maintained with localStorage.
Save for Later
Save/Unsave newsletters.
LocalStorage persistence.
Show Saved Only toggle button added in sidebar.
Share to Social Media
Share to: LinkedIn, Twitter/X, WhatsApp
).
UI/UX Enhancements
Cards redesigned with:
Shadow on hover,spacing,Tooltip support
Subtle hover transitions and scaling
Technical Stack
React + TypeScript
Tailwind CSS for styling
Custom hooks for LocalStorage
Modular Components: NewsletterCard, NewsletterSidebar, etc.
Files Modified
index.tsx – Main logic + search + layout
NewsletterCard.tsx – Design & action buttons
NewsletterSidebar.tsx – Tag filtering, Save toggle, collapsibility
useLocalStorage.ts – Hook for like/save state
posts.ts – Demo content with placeholder images
Future Suggestions
Add backend for newsletter content.
Use Algolia/Fuse.js for fuzzy search.
Add animation with Framer Motion.
Improve accessibility with screen reader support.
Checklist
npm run build
and attached scrrenshot in this PR.